<?php
/**
 *
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * For full copyright and license information, please see the LICENSE.txt
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       app.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
 */

$cakeDescription = __d('cake_dev', 'CakePHP: the rapid development php framework');
?>
<!DOCTYPE html>
<html class="sidebar_default  no-js" lang="en">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>Bắt Đầu - Quản Lý Đề Thi
	</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
	<link rel="shortcut icon" href="css/images/favicon.png">
	<?php

		echo $this->Html->css(array('chosen/chosen','twitter/bootstrap','base','twitter/responsive','jquery-ui-1.8.23.custom','user'));
		echo $this->Html->script('plugins/modernizr.custom.32549');
		echo '<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
              <!--[if lt IE 9]>
                    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
                    <![endif]-->';

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
	?>
</head>
<body>
<div id="loading"><img src="img/ajax-loader.gif"></div>
<div id="responsive_part">
  <div class="logo"> <a href="index.php"><span>Start</span><span class="icon"></span></a> </div>
  <ul class="nav responsive">
    <li>
      <button class="btn responsive_menu icon_item" data-toggle="collapse" data-target=".overview"> <i class="icon-reorder"></i> </button>
    </li>
  </ul>
</div>
<!--  begin sidebar -->
<?php echo $this->element('menu');?>
<!-- end sidebar  -->
<div id="main">
  <div class="container">
    <div class="header row-fluid">
      <div class="logo"> <a href="index.html"><span>Start</span><span class="icon"></span></a> </div>
      <div class="top_right">
        <ul class="nav nav_menu">
          <li class="dropdown"> <a class="dropdown-toggle administrator" id="dLabel" role="button" data-toggle="dropdown" data-target="#" href="/page.html">
            <div class="title"><span class="name"><?php echo $user_username;?></span><span class="subtitle"><?php echo $user_fullname;?></span></div>
            <span class="icon"><img src="<?php echo $base_url_img.$user_img;?>"></span></a>
            <ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
              <li><a href="<?php echo $base_url;?>nguoi-dung-<?php echo $user_fullname; ?>-<?php echo $user_id;?>.html"><i class=" icon-user"></i>Thông Tin Của Tôi</a></li>
              <li><a href="<?php echo $base_url.'Users/logout';?>"><i class=" icon-unlock"></i>Log Out</a></li>
              <li><a href=""><i class=" icon-flag"></i>Help</a></li>
            </ul>
          </li>
        </ul>
      </div>
      <!-- End top-right -->
    </div>
    <div id="main_container">
            <center><div id='sending' style='display:none;'><div><img src="img/ajax-loader.gif"></div></div></center>
            <div id='success'></div>
			<?php echo $this->fetch('content'); ?>
    </div>
    <!-- End #container -->
  </div>
  <div id="footer">
    <p> &copy; Start - Admin Template 2012 </p>
    <span class="company_logo"><a href="https://www.facebook.com/hung.giangkhac"></a></span> </div>
</div>
<div class="background_changer dropdown">
    <div class="dropdown" id="colors_pallete"> <a data-toggle="dropdown" data-target="drop4" class="change_color"></a>
        <ul  class="dropdown-menu pull-left" role="menu" aria-labelledby="drop4">
            <li><a data-color="color_0" class="color_0" tabindex="-1">1</a></li>
            <li><a data-color="color_1" class="color_1" tabindex="-1">1</a></li>
            <li><a data-color="color_2" class="color_2" tabindex="-1">2</a></li>
            <li><a data-color="color_3" class="color_3" tabindex="-1">3</a></li>
            <li><a data-color="color_4" class="color_4" tabindex="-1">4</a></li>
            <li><a data-color="color_5" class="color_5" tabindex="-1">5</a></li>
            <li><a data-color="color_6" class="color_6" tabindex="-1">6</a></li>
            <li><a data-color="color_7" class="color_7" tabindex="-1">7</a></li>
            <li><a data-color="color_8" class="color_8" tabindex="-1">8</a></li>
            <li><a data-color="color_9" class="color_9" tabindex="-1">9</a></li>
            <li><a data-color="color_10" class="color_10" tabindex="-1">10</a></li>
            <li><a data-color="color_11" class="color_11" tabindex="-1">10</a></li>
            <li><a data-color="color_12" class="color_12" tabindex="-1">12</a></li>
            <li><a data-color="color_13" class="color_13" tabindex="-1">13</a></li>
            <li><a data-color="color_14" class="color_14" tabindex="-1">14</a></li>
            <li><a data-color="color_15" class="color_15" tabindex="-1">15</a></li>
            <li><a data-color="color_16" class="color_16" tabindex="-1">16</a></li>
            <li><a data-color="color_17" class="color_17" tabindex="-1">17</a></li>
            <li><a data-color="color_18" class="color_18" tabindex="-1">18</a></li>
            <li><a data-color="color_19" class="color_19" tabindex="-1">19</a></li>
            <li><a data-color="color_20" class="color_20" tabindex="-1">20</a></li>
            <li><a data-color="color_21" class="color_21" tabindex="-1">21</a></li>
            <li><a data-color="color_22" class="color_22" tabindex="-1">22</a></li>
            <li><a data-color="color_23" class="color_23" tabindex="-1">23</a></li>
            <li><a data-color="color_24" class="color_24" tabindex="-1">24</a></li>
            <li><a data-color="color_25" class="color_25" tabindex="-1">25</a></li>
        </ul>
    </div>
</div>
<!-- End .background_changer -->
</div>
<!-- /container -->

<!-- Le javascript
    ================================================== -->
<!-- General scripts -->
<?php
      echo $this->Html->script('jquery');
      echo '<!--[if !IE]> -->
            <!--[if !IE]> -->';
      echo $this->Html->script('plugins/enquire.min');
      echo '<!-- <![endif]-->
            <!-- <![endif]-->
            <!--[if lt IE 7]>
            <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js"></script>
            <![endif]-->';
      echo $this->Html->script(array('plugins/jquery.sparkline.min',
      'plugins/excanvas.compiled',
      'bootstrap-transition',
      'bootstrap-alert',
      'bootstrap-modal',
      'bootstrap-dropdown',
      'bootstrap-scrollspy',
      'bootstrap-tab',
      'bootstrap-tooltip',
      'bootstrap-popover',
      'bootstrap-button',
      'bootstrap-collapse',
      'bootstrap-carousel',
      'bootstrap-typeahead',
      'bootstrap-affix',
      'fileinput.jquery',
      'jquery-ui-1.8.23.custom.min',
      'jquery.touchdown',
      'plugins/jquery.uniform.min',
      'plugins/jquery.tinyscrollbar.min',
      'jnavigate.jquery.min',
      'jquery.touchSwipe.min',
      'plugins/jquery.peity.min',
      'plugins/chosen/chosen/chosen.jquery.min',
      'plugins/datatables/js/jquery.dataTables'
      ));
      echo '<!-- Flot charts -->';
      echo $this->Html->script(array('plugins/flot/jquery.flot','plugins/flot/jquery.flot.resize'));
      echo '<!-- Data tables -->';
      echo $this->Html->script('plugins/datatables/js/jquery.dataTables');
      echo '<!-- Task plugin -->';
      echo $this->Html->script(array('plugins/knockout-2.0.0','plugins/tinymce/jscripts/tiny_mce/tiny_mce'));
      echo '<!-- Custom made scripts for this template -->';
      echo $this->Html->script('scripts');


?>
<?php echo $scripts_for_layout; ?>
</body>
</html>
